<template>
<el-container>
  <el-header>内师管理系统</el-header>
  <el-container>
    <el-aside width="200px">
      <el-menu
      default-active="/home/student"
      class="el-menu-vertical-demo"
      router
     >
      <el-menu-item index="/home/student">
        <i class="el-icon-menu"></i>
        <span slot="title">学生管理</span>
      </el-menu-item>
      <el-menu-item index="/home/banjiguanli" >
        <i class="el-icon-document"></i>
        <span slot="title">班级管理</span>
      </el-menu-item>
      <el-menu-item index="4" disabled>
        <i class="el-icon-setting"></i>
        <span slot="title">专业管理</span>
      </el-menu-item>
    </el-menu>
    </el-aside>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</el-container>
</template>

<script>
export default {
  name:'home-name'
}

</script>
<style scoped>
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: white;
    color: #333;
    text-align: center;
  }
  
  .el-main {
    background-color: #E9EEF3;
    
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  .el-container{
    height: 100vh;
  }

  

</style>